package com.wangjie.service;

import com.wangjie.domain.PageResult;
import com.wangjie.domain.dto.UserDto;
import com.wangjie.domain.dto.UserQueryDto;
import com.wangjie.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangjie.domain.vo.UserVo;

import java.util.List;

public interface UserService extends IService<User> {
    PageResult<UserVo> pageUserList(Integer pageNum, Integer pageSize, UserQueryDto dto);

    UserVo getUserById(Long id);

    boolean addUser(UserDto dto);

    boolean updateUser(UserDto dto);

    boolean deleteUserByIds(List<Long> ids);
}
